import { defineStore } from 'pinia'
import { ref } from 'vue'

//用户模块token setToken removeToken

export const resumeInfoStore = defineStore(
    'resumeInfo',
    () => {
        const resumeInfo = ref('')
        const setResumeInfo = (newResumeInfo) => {
            resumeInfo.value = newResumeInfo
        }
        const removeResumeInfo = () => {
            resumeInfo.value = ''
        }
        return {
            resumeInfo,
            setResumeInfo,
            removeResumeInfo
        }
    },
    {
        persist: true
    }
)
